package com.tusuo.stds.ui.suggest;

import android.support.annotation.NonNull;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;

import com.tusuo.stds.R;
import com.tusuo.stds.ui.BaseToolbarActivity;
import com.tusuo.stds.ui.ToolbarOwner;

public class SuggestSuccessActivity extends BaseToolbarActivity<EmptyView,EmptyPresenter> {

    TextView tvClose;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_suggest_success);
        tvClose = (TextView) findViewById(R.id.success_tv_close);
        tvClose.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        initData();

    }

    private void initData() {
        setupUI(this,getResources().getColor(R.color.white),getResources().getColor(R.color.black));
        ToolbarOwner.Config config = new ToolbarOwner.Config("意见反馈", true, R.drawable.ic_back_dark, null);
        mToolbarOwner.setConfig(config);
    }

    @NonNull
    @Override
    public EmptyPresenter createPresenter() {
        return new EmptyPresenter();
    }
}
